<template>
  <div class="fun-header-wrap">
    <div class="left-wrap">
      <span class="text">{{ label }}</span>
    </div>
    <div class="right-wrap">
      <span class="text">{{ subLabel }}</span>
    </div>
  </div>
</template>

<script setup>
defineProps({
  label: {
    type: String,
    default: ''
  },
  subLabel: {
    type: String,
    default: ''
  }
})
</script>

<style lang="scss" scoped>
.fun-header-wrap {
  display: flex;
  align-items: flex-end;
  width: 630px;
  margin: 0 auto;

  .left-wrap {
    position: relative;
    z-index: 2;
    width: 240px;
    height: 74px;
    background: url('~@/assets/images/item-header-01.png') no-repeat;

    font-size: 48px;
    font-style: italic;
    font-weight: 600;
    line-height: 74px;
    color: #f1ffff;

    .text {
      padding-left: 34px;
    }
  }

  .right-wrap {
    position: relative;
    left: -20px;
    width: 428px;
    height: 54px;
    background: url('~@/assets/images/item-header-02.png') no-repeat;

    font-size: 22px;
    font-weight: 500;
    line-height: 54px;
    color: #309aa8;
    border-top-right-radius: 30px;

    .text {
      padding-left: 40px;
    }
  }
}
</style>
